package cn.exrick.xboot.entity.agency;


import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "a_province")
@TableName("a_province")
public class Province extends XbootBaseEntity {
    private static final long serialVersionUID = 1L;

    private String name;
    @Column(unique = true,nullable = false)
    private String code;

}
